package com.nanbei.tree;

/**
 * @ClassDescription:  二叉树定义 二叉树的value为String
 * @JdkVersion: 17
 * @Author: BaoShan.Li
 * @Date: 2024/5/26 23:34
 */
public class TreeNodeStr {
    TreeNodeStr left;
    String value;
    TreeNodeStr right;


    public TreeNodeStr(String value) {
        this.value = value;
    }

    public TreeNodeStr(TreeNodeStr left, String value, TreeNodeStr right) {
        this.left = left;
        this.value = value;
        this.right = right;
    }
}
